package com.sun.domain;

import java.io.Serializable;

/**
 * @author SunRui
 * @description TODO
 * @date 2024/8/2 18:02
 */
public class BorrowUtil implements Serializable {
    private static final long serialVersionUID = -7100435686938150829L;
    private int id;//借阅ID
    private String borrowDate;//借阅日期
    private String bookName;//图书名称
    private int borrowDays;//借阅天数
    private int renewDays;//续借天数
    private int amount;//罚款金额

    @Override
    public String toString() {
        return "BorrowUtil{" +
                "id=" + id +
                ", borrowDate='" + borrowDate + '\'' +
                ", bookName='" + bookName + '\'' +
                ", borrowDays=" + borrowDays +
                ", renewDays=" + renewDays +
                ", amount=" + amount +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBorrowDate() {
        return borrowDate;
    }

    public void setBorrowDate(String borrowDate) {
        this.borrowDate = borrowDate;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public int getBorrowDays() {
        return borrowDays;
    }

    public void setBorrowDays(int borrowDays) {
        this.borrowDays = borrowDays;
    }

    public int getRenewDays() {
        return renewDays;
    }

    public void setRenewDays(int renewDays) {
        this.renewDays = renewDays;
    }


    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }
}
